package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {

    //添加购物车
    void addCart(ShoppingCartDTO shoppingCartDTO);
    //展示该用户的购物车
    List<ShoppingCart> getCart();
    //删除该用户的所有购物车信息
    void deleteAll();
    //删除一条
    void delete(ShoppingCartDTO shoppingCartDTO);
}
